arm, fdt: update ethernet mac address before booting Linux
authorHeiko Schocher <[email protected]>
Wed, 14 Sep 2011 19:16:30 +0000 (19:16 +0000)
committerAlbert ARIBAUD <[email protected]>
Mon, 19 Dec 2011 16:52:44 +0000 (17:52 +0100)
Signed-off-by: Heiko Schocher <[email protected]>
Cc: Albert ARIBAUD <[email protected]>
Cc: Gerald van Baren <[email protected]>
Acked-by: Wolfgang Denk <[email protected]>
arch/arm/lib/bootm.c

index 802e833a2ed584fe1365dacd4a033665eeb2f5d7..afa0093df7620606ee12b4dc1dd2ee37adee347c 100644 (file)
@@ -206,6 +206,8 @@ static int bootm_linux_fdt(int machid, bootm_headers_t *images)
 
        fixup_memory_node(*of_flat_tree);
 
+       fdt_fixup_ethernet(*of_flat_tree);
+
        fdt_initrd(*of_flat_tree, *initrd_start, *initrd_end, 1);
 
        announce_and_cleanup();